//学生参与项目的接口
import request from '@/utils/request'
//邀请学生
export const createProjectStudentApi = (projectId,studentId) => {
    return request({
        url: `/project/student/${projectId}/${studentId}`,
        method: "post",
    })
}
//删除学生
export const deleteProjectStudentApi = (id,studentId) => {
    return request({
        url: `/project/student/${id}/${studentId}`,
        method: "delete",
    })
}
//获取参与项目的学生
export const getInvolveProjectStudentApi = id => {
    return request({
        url: `/project/student/other/${id}`,
        method: "get",
    })
}
//获取主持项目的学生
export const getHostProjectStudentApi = id => {
    return request({
        url: `/project/student/${id}`,
        method: "get",
    })
}
